<style scoped>
  .header{
    display: flex;
    flex-direction: column;
  }
  /*.head-top{*/
    /*width:100%;*/
    /*height:10px;*/
    /*background: transparent;*/
  /*}*/
  .head{
    height:50px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items:center;
    border-bottom: 1px solid #E9E9E9;
    box-sizing: border-box;
    margin-top: 10px;
  }
  .head-left{
    position: absolute;
    width:40px;
    height:100%;
    left:0;
    top:0;
    color: #7f7a8e;
    text-align: center;
  }
  .head-left h1{
    margin-top: 22px;
  }
  .head-middle{
    font-size: 16px;
  }
  .head-right{
    position: absolute;
    right:10px;
    top:12px;
    height: 24px;
    width: 59px;
  }
  .head-right h1 {
    float: right;
    display: inline-block;
  }
</style>

<template>
    <div class="head">
      <div class="head-left"></div>
      <div class="head-middle"><h3>策略超市</h3></div>
      <div class="head-right"><a to="" @click="toSearch"><h1 class="iconfont icon-tubiaozhizuomoban"></h1></a></div>
    </div>

</template>

<script>
  export default {
    data () {
      return {}
    },
    methods: {
      toSearch () {
        this.$route.push('./searchCom')
      }
    }
  }
</script>
